/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.vo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author : WangZhiPan
 * @date : 2021/9/24 10:40
 */
@Data
@ApiModel
public class BaseEntityVO {
    @ApiModelProperty("主键")
    protected Long id;
    /**
     * 状态 Y 逻辑删除 N正常
     */
    @ApiModelProperty("状态 Y 逻辑删除 N正常")
    protected String isDeleted;
    /**
     * 创建人姓名
     */
    @ApiModelProperty("创建人姓名")
    protected String creator;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected LocalDateTime gmtCreated;
    /**
     * 修改人姓名
     */
    @ApiModelProperty("modifier")

    protected String modifier;
    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    protected LocalDateTime gmtModified;
}
